]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Use NULL for nick/blurb in GObject params
authorBilal Elmoussaoui <belmouss@redhat.com>
Wed, 16 Oct 2024 09:51:23 +0000 (11:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Oct 2024 16:53:17 +0000 (18:53 +0200)
As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>
(cherry picked from commit aa0f2c4915d29e9f070a6ce99d0a05625ddfd6e1)

70 files changed:
js/misc/modemManager.js
js/misc/systemActions.js
js/ui/appDisplay.js
js/ui/barLevel.js
js/ui/calendar.js
js/ui/dialog.js
js/ui/iconGrid.js
js/ui/keyboard.js
js/ui/layout.js
js/ui/lightbox.js
js/ui/messageList.js
js/ui/messageTray.js
js/ui/modalDialog.js
js/ui/overviewControls.js
js/ui/padOsd.js
js/ui/panel.js
js/ui/pointerA11yTimeout.js
js/ui/popupMenu.js
js/ui/quickSettings.js
js/ui/screenshot.js
js/ui/search.js
js/ui/searchController.js
js/ui/status/backgroundApps.js
js/ui/status/backlight.js
js/ui/status/bluetooth.js
js/ui/status/location.js
js/ui/status/network.js
js/ui/status/rfkill.js
js/ui/status/system.js
js/ui/swipeTracker.js
js/ui/windowPreview.js
js/ui/workspace.js
js/ui/workspaceAnimation.js
js/ui/workspaceThumbnail.js
src/gtkactionmuxer.c
src/hotplug-sniffer/shell-mime-sniffer.c
src/shell-app.c
src/shell-blur-effect.c
src/shell-camera-monitor.c
src/shell-global.c
src/shell-keyring-prompt.c
src/shell-tray-icon.c
src/shell-tray-manager.c
src/shell-window-preview-layout.c
src/shell-window-preview.c
src/shell-window-tracker.c
src/shell-workspace-background.c
src/st/st-adjustment.c
src/st/st-bin.c
src/st/st-box-layout.c
src/st/st-button.c
src/st/st-entry.c
src/st/st-icon.c
src/st/st-image-content.c
src/st/st-label.c
src/st/st-password-entry.c
src/st/st-scroll-bar.c
src/st/st-scroll-view-fade.c
src/st/st-scroll-view.c
src/st/st-scrollable.c
src/st/st-settings.c
src/st/st-theme-context.c
src/st/st-theme.c
src/st/st-viewport.c
src/st/st-widget.c
src/tray/na-tray-manager.c
src/tray/na-xembed.c
subprojects/shew/src/shew-external-window.c
subprojects/shew/src/shew-window-exporter.c
tests/unit/injectionManager.js

index e48c0b6157acb4dffcdea459d6ce2ba4616623bd..1825df195b3a0f42f49ce5d97c930b72a4ba6180 100644 (file)
@@ -106,11 +106,11 @@ const ModemBase = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
     Properties: {
         'operator-name': GObject.ParamSpec.string(
-            'operator-name', 'operator-name', 'operator-name',
+            'operator-name', null, null,
             GObject.ParamFlags.READABLE,
             null),
         'signal-quality': GObject.ParamSpec.int(
-            'signal-quality', 'signal-quality', 'signal-quality',
+            'signal-quality', null, null,
             GObject.ParamFlags.READABLE,
             0, 100, 0),
     },
@@ -234,7 +234,7 @@ const BroadbandModemCdmaProxy = Gio.DBusProxy.makeProxyWrapper(BroadbandModemCdm
 export const BroadbandModem = GObject.registerClass({
     Properties: {
         'capabilities': GObject.ParamSpec.flags(
-            'capabilities', 'capabilities', 'capabilities',
+            'capabilities', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             NM.DeviceModemCapabilities.$gtype,
             NM.DeviceModemCapabilities.NONE),
index efb875bace478ecb1838a1fb329555a9fe073131..db08b5468161e73a740319a934557c0c15080ca5 100644 (file)
@@ -42,35 +42,35 @@ export function getDefault() {
 const SystemActions = GObject.registerClass({
     Properties: {
         'can-power-off': GObject.ParamSpec.boolean(
-            'can-power-off', 'can-power-off', 'can-power-off',
+            'can-power-off', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-restart': GObject.ParamSpec.boolean(
-            'can-restart', 'can-restart', 'can-restart',
+            'can-restart', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-suspend': GObject.ParamSpec.boolean(
-            'can-suspend', 'can-suspend', 'can-suspend',
+            'can-suspend', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-lock-screen': GObject.ParamSpec.boolean(
-            'can-lock-screen', 'can-lock-screen', 'can-lock-screen',
+            'can-lock-screen', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-switch-user': GObject.ParamSpec.boolean(
-            'can-switch-user', 'can-switch-user', 'can-switch-user',
+            'can-switch-user', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-logout': GObject.ParamSpec.boolean(
-            'can-logout', 'can-logout', 'can-logout',
+            'can-logout', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'can-lock-orientation': GObject.ParamSpec.boolean(
-            'can-lock-orientation', 'can-lock-orientation', 'can-lock-orientation',
+            'can-lock-orientation', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'orientation-lock-icon': GObject.ParamSpec.string(
-            'orientation-lock-icon', 'orientation-lock-icon', 'orientation-lock-icon',
+            'orientation-lock-icon', null, null,
             GObject.ParamFlags.READWRITE,
             null),
     },
index cef515aaef5e4461c89db61244f36f266ce5dca5..3b554bfe0ef679ea9f00008bc4dd8aad42351bf7 100644 (file)
@@ -159,7 +159,7 @@ function _findBestFolderName(apps) {
 export const AppGrid = GObject.registerClass({
     Properties: {
         'indicators-padding': GObject.ParamSpec.boxed('indicators-padding',
-            'Indicators padding', 'Indicators padding',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Margin.$gtype),
     },
@@ -484,7 +484,7 @@ var BaseAppView = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
     Properties: {
         'gesture-modes': GObject.ParamSpec.flags(
-            'gesture-modes', 'gesture-modes', 'gesture-modes',
+            'gesture-modes', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             Shell.ActionMode, Shell.ActionMode.OVERVIEW),
     },
index bb5f3b98b713f75d2e4e4dc83f67eee8d4aae6e8..a0d6d65a54577ababc8871d1b595647240399c95 100644 (file)
@@ -6,15 +6,15 @@ import St from 'gi://St';
 export const BarLevel = GObject.registerClass({
     Properties: {
         'value': GObject.ParamSpec.double(
-            'value', 'value', 'value',
+            'value', null, null,
             GObject.ParamFlags.READWRITE,
             0, 2, 0),
         'maximum-value': GObject.ParamSpec.double(
-            'maximum-value', 'maximum-value', 'maximum-value',
+            'maximum-value', null, null,
             GObject.ParamFlags.READWRITE,
             1, 2, 1),
         'overdrive-start': GObject.ParamSpec.double(
-            'overdrive-start', 'overdrive-start', 'overdrive-start',
+            'overdrive-start', null, null,
             GObject.ParamFlags.READWRITE,
             1, 2, 1),
     },
index c1226e5fc820cc6e917986f049a8e7d54972f94d..ac55e77ae76e0383dfc1caa869fa392ea52c27a5 100644 (file)
@@ -95,11 +95,11 @@ export const EventSourceBase = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
     Properties: {
         'has-calendars': GObject.ParamSpec.boolean(
-            'has-calendars', 'has-calendars', 'has-calendars',
+            'has-calendars', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'is-loading': GObject.ParamSpec.boolean(
-            'is-loading', 'is-loading', 'is-loading',
+            'is-loading', null, null,
             GObject.ParamFlags.READABLE,
             false),
     },
index 7337407e65e69c1e17781d3201b2850cef4c3b76..3f918981c7fa9018622ee202e9060edbfa4dcf97 100644 (file)
@@ -159,12 +159,12 @@ class Dialog extends St.Widget {
 export const MessageDialogContent = GObject.registerClass({
     Properties: {
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT,
             null),
         'description': GObject.ParamSpec.string(
-            'description', 'description', 'description',
+            'description', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT,
             null),
@@ -251,7 +251,7 @@ export const MessageDialogContent = GObject.registerClass({
 export const ListSection = GObject.registerClass({
     Properties: {
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT,
             null),
@@ -295,16 +295,16 @@ export const ListSection = GObject.registerClass({
 export const ListSectionItem = GObject.registerClass({
     Properties: {
         'icon-actor':  GObject.ParamSpec.object(
-            'icon-actor', 'icon-actor', 'Icon actor',
+            'icon-actor', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Actor.$gtype),
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT,
             null),
         'description': GObject.ParamSpec.string(
-            'description', 'description', 'description',
+            'description', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT,
             null),
index 2164b5c81a14ad1d0595a9897d6d01e4e1bc5b35..fe329bf2fffbda8c05b0be79b4f6fcd10e0aac2a 100644 (file)
@@ -245,65 +245,63 @@ function swap(value, length) {
 export const IconGridLayout = GObject.registerClass({
     Properties: {
         'allow-incomplete-pages': GObject.ParamSpec.boolean('allow-incomplete-pages',
-            'Allow incomplete pages', 'Allow incomplete pages',
+            null, null,
             GObject.ParamFlags.READWRITE,
             true),
         'column-spacing': GObject.ParamSpec.int('column-spacing',
-            'Column spacing', 'Column spacing',
+            null, null,
             GObject.ParamFlags.READWRITE,
             0, GLib.MAXINT32, 0),
         'columns-per-page': GObject.ParamSpec.int('columns-per-page',
-            'Columns per page', 'Columns per page',
+            null, null,
             GObject.ParamFlags.READWRITE,
             1, GLib.MAXINT32, 6),
         'fixed-icon-size': GObject.ParamSpec.int('fixed-icon-size',
-            'Fixed icon size', 'Fixed icon size',
+            null, null,
             GObject.ParamFlags.READWRITE,
             -1, GLib.MAXINT32, -1),
         'icon-size': GObject.ParamSpec.int('icon-size',
-            'Icon size', 'Icon size',
+            null, null,
             GObject.ParamFlags.READABLE,
             0, GLib.MAXINT32, 0),
         'last-row-align': GObject.ParamSpec.enum('last-row-align',
-            'Last row align', 'Last row align',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.ActorAlign.$gtype,
             Clutter.ActorAlign.FILL),
         'max-column-spacing': GObject.ParamSpec.int('max-column-spacing',
-            'Maximum column spacing', 'Maximum column spacing',
+            null, null,
             GObject.ParamFlags.READWRITE,
             -1, GLib.MAXINT32, -1),
         'max-row-spacing': GObject.ParamSpec.int('max-row-spacing',
-            'Maximum row spacing', 'Maximum row spacing',
+            null, null,
             GObject.ParamFlags.READWRITE,
             -1, GLib.MAXINT32, -1),
         'orientation': GObject.ParamSpec.enum('orientation',
-            'Orientation', 'Orientation',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Orientation.$gtype,
             Clutter.Orientation.VERTICAL),
         'page-halign': GObject.ParamSpec.enum('page-halign',
-            'Horizontal page align',
-            'Horizontal page align',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.ActorAlign.$gtype,
             Clutter.ActorAlign.FILL),
         'page-padding': GObject.ParamSpec.boxed('page-padding',
-            'Page padding', 'Page padding',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Margin.$gtype),
         'page-valign': GObject.ParamSpec.enum('page-valign',
-            'Vertical page align',
-            'Vertical page align',
+            null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.ActorAlign.$gtype,
             Clutter.ActorAlign.FILL),
         'row-spacing': GObject.ParamSpec.int('row-spacing',
-            'Row spacing', 'Row spacing',
+            null, null,
             GObject.ParamFlags.READWRITE,
             0, GLib.MAXINT32, 0),
         'rows-per-page': GObject.ParamSpec.int('rows-per-page',
-            'Rows per page', 'Rows per page',
+            null, null,
             GObject.ParamFlags.READWRITE,
             1, GLib.MAXINT32, 4),
     },
index a8b90caa26d007481f01dfc6ac0fd90de51960cd..8bb5b0466d369afb3ad56cfc0d54657b45116770 100644 (file)
@@ -587,7 +587,7 @@ class FocusTracker extends Signals.EventEmitter {
 const EmojiPager = GObject.registerClass({
     Properties: {
         'delta': GObject.ParamSpec.int(
-            'delta', 'delta', 'delta',
+            'delta', null, null,
             GObject.ParamFlags.READWRITE,
             GLib.MININT32, GLib.MAXINT32, 0),
     },
index 57b5d0a2347a1faabb1ca5686a76fbfdda19ea06..db519ca45618f0fd4886a85d3addb8e7454e3ce3 100644 (file)
@@ -39,15 +39,15 @@ function isPopupMetaWindow(actor) {
 export const MonitorConstraint = GObject.registerClass({
     Properties: {
         'primary': GObject.ParamSpec.boolean(
-            'primary', 'Primary', 'Track primary monitor',
+            'primary', null, null,
             GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
             false),
         'index': GObject.ParamSpec.int(
-            'index', 'Monitor index', 'Track specific monitor',
+            'index', null, null,
             GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
             -1, 64, -1),
         'work-area': GObject.ParamSpec.boolean(
-            'work-area', 'Work-area', 'Track monitor\'s work-area',
+            'work-area', null, null,
             GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
             false),
     },
index 5651e8b5932140aa3ed5a82237e35ea5a82b3503..56b4d78c555af653acfb2c3818b9c4d0d1b5f17e 100644 (file)
@@ -29,11 +29,11 @@ cogl_color_out.a += (rand(position) - 0.5) / 100.0;                        \n';
 const RadialShaderEffect = GObject.registerClass({
     Properties: {
         'brightness': GObject.ParamSpec.float(
-            'brightness', 'brightness', 'brightness',
+            'brightness', null, null,
             GObject.ParamFlags.READWRITE,
             0, 1, 1),
         'sharpness': GObject.ParamSpec.float(
-            'sharpness', 'sharpness', 'sharpness',
+            'sharpness', null, null,
             GObject.ParamFlags.READWRITE,
             0, 1, 0),
     },
@@ -89,7 +89,7 @@ const RadialShaderEffect = GObject.registerClass({
 export const Lightbox = GObject.registerClass({
     Properties: {
         'active': GObject.ParamSpec.boolean(
-            'active', 'active', 'active', GObject.ParamFlags.READABLE, false),
+            'active', null, null, GObject.ParamFlags.READABLE, false),
     },
 }, class Lightbox extends St.Bin {
     /**
index 18b53d56907611e2ac4af5086f35e09fb385861d..2f683f676b7305f4edfe07bcef0e23988330a1ef 100644 (file)
@@ -192,7 +192,7 @@ class ScaleLayout extends Clutter.BinLayout {
 const LabelExpanderLayout = GObject.registerClass({
     Properties: {
         'expansion': GObject.ParamSpec.double(
-            'expansion', 'Expansion', 'Expansion',
+            'expansion', null, null,
             GObject.ParamFlags.READABLE | GObject.ParamFlags.WRITABLE,
             0, 1, 0),
     },
@@ -249,15 +249,15 @@ const LabelExpanderLayout = GObject.registerClass({
 export const Source = GObject.registerClass({
     Properties: {
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'icon': GObject.ParamSpec.object(
-            'icon', 'icon', 'icon',
+            'icon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
         'icon-name': GObject.ParamSpec.string(
-            'icon-name', 'icon-name', 'icon-name',
+            'icon-name', null, null,
             GObject.ParamFlags.READWRITE,
             null),
     },
@@ -386,23 +386,23 @@ class MessageHeader extends St.BoxLayout {
 export const Message = GObject.registerClass({
     Properties: {
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'body': GObject.ParamSpec.string(
-            'body', 'body', 'body',
+            'body', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'use-body-markup': GObject.ParamSpec.boolean(
-            'use-body-markup', 'use-body-markup', 'use-body-markup',
+            'use-body-markup', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'icon': GObject.ParamSpec.object(
-            'icon', 'icon', 'icon',
+            'icon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
         'datetime': GObject.ParamSpec.boxed(
-            'datetime', 'datetime', 'datetime',
+            'datetime', null, null,
             GObject.ParamFlags.READWRITE,
             GLib.DateTime),
     },
@@ -659,11 +659,11 @@ export const Message = GObject.registerClass({
 export const MessageListSection = GObject.registerClass({
     Properties: {
         'can-clear': GObject.ParamSpec.boolean(
-            'can-clear', 'can-clear', 'can-clear',
+            'can-clear', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'empty': GObject.ParamSpec.boolean(
-            'empty', 'empty', 'empty',
+            'empty', null, null,
             GObject.ParamFlags.READABLE,
             true),
     },
index 6210d458032f5589e45ca5d203e021153fda0530..80240b1eedca189c59aeef3431d1e15aa6b75b87 100644 (file)
@@ -138,21 +138,21 @@ export const NotificationPolicy = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
     Properties: {
         'enable': GObject.ParamSpec.boolean(
-            'enable', 'enable', 'enable', GObject.ParamFlags.READABLE, true),
+            'enable', null, null, GObject.ParamFlags.READABLE, true),
         'enable-sound': GObject.ParamSpec.boolean(
-            'enable-sound', 'enable-sound', 'enable-sound',
+            'enable-sound', null, null,
             GObject.ParamFlags.READABLE, true),
         'show-banners': GObject.ParamSpec.boolean(
-            'show-banners', 'show-banners', 'show-banners',
+            'show-banners', null, null,
             GObject.ParamFlags.READABLE, true),
         'force-expanded': GObject.ParamSpec.boolean(
-            'force-expanded', 'force-expanded', 'force-expanded',
+            'force-expanded', null, null,
             GObject.ParamFlags.READABLE, false),
         'show-in-lock-screen': GObject.ParamSpec.boolean(
-            'show-in-lock-screen', 'show-in-lock-screen', 'show-in-lock-screen',
+            'show-in-lock-screen', null, null,
             GObject.ParamFlags.READABLE, false),
         'details-in-lock-screen': GObject.ParamSpec.boolean(
-            'details-in-lock-screen', 'details-in-lock-screen', 'details-in-lock-screen',
+            'details-in-lock-screen', null, null,
             GObject.ParamFlags.READABLE, false),
     },
 }, class NotificationPolicy extends GObject.Object {
@@ -485,11 +485,11 @@ export class Notification extends GObject.Object {
 export const Source = GObject.registerClass({
     Properties: {
         'count': GObject.ParamSpec.int(
-            'count', 'count', 'count',
+            'count', null, null,
             GObject.ParamFlags.READABLE,
             0, GLib.MAXINT32, 0),
         'policy': GObject.ParamSpec.object(
-            'policy', 'policy', 'policy',
+            'policy', null, null,
             GObject.ParamFlags.READWRITE,
             NotificationPolicy.$gtype),
     },
@@ -608,63 +608,63 @@ SignalTracker.registerDestroyableType(Source);
 GObject.registerClass({
     Properties: {
         'source': GObject.ParamSpec.object(
-            'source', 'source', 'source',
+            'source', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             Source),
         'title': GObject.ParamSpec.string(
-            'title', 'title', 'title',
+            'title', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'body': GObject.ParamSpec.string(
-            'body', 'body', 'body',
+            'body', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'use-body-markup': GObject.ParamSpec.boolean(
-            'use-body-markup', 'use-body-markup', 'use-body-markup',
+            'use-body-markup', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'gicon': GObject.ParamSpec.object(
-            'gicon', 'gicon', 'gicon',
+            'gicon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
         'icon-name': GObject.ParamSpec.string(
-            'icon-name', 'icon-name', 'icon-name',
+            'icon-name', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'sound': GObject.ParamSpec.object(
-            'sound', 'sound', 'sound',
+            'sound', null, null,
             GObject.ParamFlags.READWRITE,
             Sound),
         'datetime': GObject.ParamSpec.boxed(
-            'datetime', 'datetime', 'datetime',
+            'datetime', null, null,
             GObject.ParamFlags.READWRITE,
             GLib.DateTime),
         // Unfortunately we can't register new enum types in GJS
         // See: https://gitlab.gnome.org/GNOME/gjs/-/issues/573
         'privacy-scope': GObject.ParamSpec.int(
-            'privacy-scope', 'privacy-scope', 'privacy-scope',
+            'privacy-scope', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
             0, GLib.MAXINT32,
             PrivacyScope.User),
         'urgency': GObject.ParamSpec.int(
-            'urgency', 'urgency', 'urgency',
+            'urgency', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
             0, GLib.MAXINT32,
             Urgency.NORMAL),
         'acknowledged': GObject.ParamSpec.boolean(
-            'acknowledged', 'acknowledged', 'acknowledged',
+            'acknowledged', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'resident': GObject.ParamSpec.boolean(
-            'resident', 'resident', 'resident',
+            'resident', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'for-feedback': GObject.ParamSpec.boolean(
-            'for-feedback', 'for-feedback', 'for-feedback',
+            'for-feedback', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'is-transient': GObject.ParamSpec.boolean(
-            'is-transient', 'is-transient', 'is-transient',
+            'is-transient', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
index 1902057e76d86678cded926fd5ea898fb654ba07..19467a0d25839d389e99cfe52d5be6365a21b24d 100644 (file)
@@ -25,7 +25,7 @@ export const State = {
 export const ModalDialog = GObject.registerClass({
     Properties: {
         'state': GObject.ParamSpec.int(
-            'state', 'Dialog state', 'state',
+            'state', null, null,
             GObject.ParamFlags.READABLE,
             Math.min(...Object.values(State)),
             Math.max(...Object.values(State)),
index 1bb5ffdb72a5fdae862ba5163b388455343599d8..7bddba5a103f6560b0f7a7b8b05e197a2fd1da3e 100644 (file)
@@ -259,7 +259,7 @@ class ControlsManagerLayout extends Clutter.LayoutManager {
 export const OverviewAdjustment = GObject.registerClass({
     Properties: {
         'gesture-in-progress': GObject.ParamSpec.boolean(
-            'gesture-in-progress', 'Gesture in progress', 'Gesture in progress',
+            'gesture-in-progress', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
index a694f93f897c9f5f37b2121999abada845ae75e5..ac72bc7ec2bb255d50429e13b3762bcea901b353 100644 (file)
@@ -291,15 +291,15 @@ const ActionEditor = GObject.registerClass({
 const PadDiagram = GObject.registerClass({
     Properties: {
         'left-handed': GObject.ParamSpec.boolean(
-            'left-handed', 'left-handed', 'Left handed',
+            'left-handed', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             false),
         'image': GObject.ParamSpec.string(
-            'image', 'image', 'Image',
+            'image',  null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             null),
         'editor-actor': GObject.ParamSpec.object(
-            'editor-actor', 'editor-actor', 'Editor actor',
+            'editor-actor', null, null,
             GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT_ONLY,
             Clutter.Actor.$gtype),
     },
index 2a69f26833ec9abab5a2a2d20e6cb97b7f37b28d..5872add0c5cec2c74acff52f5213b824f56b380d 100644 (file)
@@ -260,11 +260,11 @@ const AppMenuButton = GObject.registerClass({
 
 const WorkspaceDot = GObject.registerClass({
     Properties: {
-        'expansion': GObject.ParamSpec.double('expansion', '', '',
+        'expansion': GObject.ParamSpec.double('expansion', null, null,
             GObject.ParamFlags.READWRITE,
             0.0, 1.0, 0.0),
         'width-multiplier': GObject.ParamSpec.double(
-            'width-multiplier', '', '',
+            'width-multiplier', null, null,
             GObject.ParamFlags.READWRITE,
             1.0, 10.0, 1.0),
     },
index 2288612e67b8cf422ece00504830e59af5e52718..f6159460638aec854a3e290c9061873811faa842 100644 (file)
@@ -10,7 +10,7 @@ const SUCCESS_ZOOM_OUT_DURATION = 150;
 const PieTimer = GObject.registerClass({
     Properties: {
         'angle': GObject.ParamSpec.double(
-            'angle', 'angle', 'angle',
+            'angle', null, null,
             GObject.ParamFlags.READWRITE,
             0, 2 * Math.PI, 0),
     },
index e0693709ad6f190ec9c605f9f0a14a8b51eebb29..ddd6ce7ed61e7d982c34cf43a82ba8bb9aa37050 100644 (file)
@@ -65,11 +65,11 @@ export function arrowIcon(side) {
 export const PopupBaseMenuItem = GObject.registerClass({
     Properties: {
         'active': GObject.ParamSpec.boolean(
-            'active', 'active', 'active',
+            'active', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'sensitive': GObject.ParamSpec.boolean(
-            'sensitive', 'sensitive', 'sensitive',
+            'sensitive', null, null,
             GObject.ParamFlags.READWRITE,
             true),
     },
@@ -330,7 +330,7 @@ class PopupSeparatorMenuItem extends PopupBaseMenuItem {
 export const Switch = GObject.registerClass({
     Properties: {
         'state': GObject.ParamSpec.boolean(
-            'state', 'state', 'state',
+            'state', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
index ab282910e9e1e5eb36f155d9f6e5cb9bfa628824..5e61938aa4a5181f1487baa3af9f7adb3828cb67 100644 (file)
@@ -22,7 +22,7 @@ const MENU_BUTTON_BRIGHTNESS = 0.1;
 export const QuickSettingsItem = GObject.registerClass({
     Properties: {
         'has-menu': GObject.ParamSpec.boolean(
-            'has-menu', 'has-menu', 'has-menu',
+            'has-menu', null, null,
             GObject.ParamFlags.READWRITE |
             GObject.ParamFlags.CONSTRUCT_ONLY,
             false),
@@ -43,14 +43,14 @@ export const QuickSettingsItem = GObject.registerClass({
 
 export const QuickToggle = GObject.registerClass({
     Properties: {
-        'title': GObject.ParamSpec.string('title', '', '',
+        'title': GObject.ParamSpec.string('title', null, null,
             GObject.ParamFlags.READWRITE,
             null),
-        'subtitle': GObject.ParamSpec.string('subtitle', '', '',
+        'subtitle': GObject.ParamSpec.string('subtitle', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
-        'gicon': GObject.ParamSpec.object('gicon', '', '',
+        'gicon': GObject.ParamSpec.object('gicon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
     },
@@ -145,18 +145,18 @@ export const QuickToggle = GObject.registerClass({
 
 export const QuickMenuToggle = GObject.registerClass({
     Properties: {
-        'title': GObject.ParamSpec.string('title', '', '',
+        'title': GObject.ParamSpec.string('title', null, null,
             GObject.ParamFlags.READWRITE,
             null),
-        'subtitle': GObject.ParamSpec.string('subtitle', '', '',
+        'subtitle': GObject.ParamSpec.string('subtitle', null, null,
             GObject.ParamFlags.READWRITE,
             null),
         'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
-        'gicon': GObject.ParamSpec.object('gicon', '', '',
+        'gicon': GObject.ParamSpec.object('gicon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
         'menu-enabled': GObject.ParamSpec.boolean(
-            'menu-enabled', '', '',
+            'menu-enabled', null, null,
             GObject.ParamFlags.READWRITE,
             true),
     },
@@ -237,19 +237,19 @@ export const QuickMenuToggle = GObject.registerClass({
 export const QuickSlider = GObject.registerClass({
     Properties: {
         'icon-name': GObject.ParamSpec.override('icon-name', St.Button),
-        'gicon': GObject.ParamSpec.object('gicon', '', '',
+        'gicon': GObject.ParamSpec.object('gicon', null, null,
             GObject.ParamFlags.READWRITE,
             Gio.Icon),
         'icon-reactive': GObject.ParamSpec.boolean(
-            'icon-reactive', '', '',
+            'icon-reactive', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'icon-label': GObject.ParamSpec.string(
-            'icon-label', '', '',
+            'icon-label', null, null,
             GObject.ParamFlags.READWRITE,
             ''),
         'menu-enabled': GObject.ParamSpec.boolean(
-            'menu-enabled', '', '',
+            'menu-enabled', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
@@ -522,7 +522,7 @@ class QuickToggleMenu extends PopupMenu.PopupMenuBase {
 const QuickSettingsLayoutMeta = GObject.registerClass({
     Properties: {
         'column-span': GObject.ParamSpec.int(
-            'column-span', '', '',
+            'column-span', null, null,
             GObject.ParamFlags.READWRITE,
             1, GLib.MAXINT32, 1),
     },
@@ -531,15 +531,15 @@ const QuickSettingsLayoutMeta = GObject.registerClass({
 const QuickSettingsLayout = GObject.registerClass({
     Properties: {
         'row-spacing': GObject.ParamSpec.int(
-            'row-spacing', 'row-spacing', 'row-spacing',
+            'row-spacing', null, null,
             GObject.ParamFlags.READWRITE,
             0, GLib.MAXINT32, 0),
         'column-spacing': GObject.ParamSpec.int(
-            'column-spacing', 'column-spacing', 'column-spacing',
+            'column-spacing', null, null,
             GObject.ParamFlags.READWRITE,
             0, GLib.MAXINT32, 0),
         'n-columns': GObject.ParamSpec.int(
-            'n-columns', 'n-columns', 'n-columns',
+            'n-columns', null, null,
             GObject.ParamFlags.READWRITE,
             1, GLib.MAXINT32, 1),
     },
index 2071f613bf78fa76376ce49f0b59836a89d20d10..762848c2870377647575be8963afe6c7fc581a20 100644 (file)
@@ -1061,9 +1061,7 @@ const ScreencastPhase = {
 export const ScreenshotUI = GObject.registerClass({
     Properties: {
         'screencast-in-progress': GObject.ParamSpec.boolean(
-            'screencast-in-progress',
-            'screencast-in-progress',
-            'screencast-in-progress',
+            'screencast-in-progress', null, null,
             GObject.ParamFlags.READABLE,
             false),
     },
@@ -2873,19 +2871,19 @@ class SelectArea extends St.Widget {
 const RecolorEffect = GObject.registerClass({
     Properties: {
         color: GObject.ParamSpec.boxed(
-            'color', 'color', 'replacement color',
+            'color', null, null,
             GObject.ParamFlags.WRITABLE,
             Cogl.Color.$gtype),
         chroma: GObject.ParamSpec.boxed(
-            'chroma', 'chroma', 'color to replace',
+            'chroma', null, null,
             GObject.ParamFlags.WRITABLE,
             Cogl.Color.$gtype),
         threshold: GObject.ParamSpec.float(
-            'threshold', 'threshold', 'threshold',
+            'threshold', null, null,
             GObject.ParamFlags.WRITABLE,
             0.0, 1.0, 0.0),
         smoothing: GObject.ParamSpec.float(
-            'smoothing', 'smoothing', 'smoothing',
+            'smoothing', null, null,
             GObject.ParamFlags.WRITABLE,
             0.0, 1.0, 0.0),
     },
index 3b9cbe5a71ae8a9a4acccef53fd41f3d67b6270f..0e3372e0e4163bb29e4c2a0d73fddd9e20525ca1 100644 (file)
@@ -151,7 +151,7 @@ const SearchResultsBase = GObject.registerClass({
     GTypeFlags: GObject.TypeFlags.ABSTRACT,
     Properties: {
         'focus-child': GObject.ParamSpec.object(
-            'focus-child', 'focus-child', 'focus-child',
+            'focus-child', null, null,
             GObject.ParamFlags.READABLE,
             Clutter.Actor.$gtype),
     },
@@ -339,7 +339,7 @@ class ListSearchResults extends SearchResultsBase {
 
 const GridSearchResultsLayout = GObject.registerClass({
     Properties: {
-        'spacing': GObject.ParamSpec.int('spacing', 'Spacing', 'Spacing',
+        'spacing': GObject.ParamSpec.int('spacing', null, null,
             GObject.ParamFlags.READWRITE, 0, GLib.MAXINT32, 0),
     },
 }, class GridSearchResultsLayout extends Clutter.LayoutManager {
index 53f6e65ebe87087b36a2ab4038ed90ce2644dc54..692cb18183afb8580afab67f81b7c6d911801770 100644 (file)
@@ -26,7 +26,7 @@ function getTermsForSearchString(searchString) {
 export const SearchController = GObject.registerClass({
     Properties: {
         'search-active': GObject.ParamSpec.boolean(
-            'search-active', 'search-active', 'search-active',
+            'search-active', null, null,
             GObject.ParamFlags.READABLE,
             false),
     },
index df9b4ab1c2de7090dd1373c6fed367c4f16722fc..0b8d5a80b068e469a82780c74de0e63d4a53c821 100644 (file)
@@ -25,10 +25,10 @@ Gio._promisify(Gio.DBusConnection.prototype, 'call');
 
 const BackgroundAppMenuItem = GObject.registerClass({
     Properties: {
-        'app': GObject.ParamSpec.object('app', '', '',
+        'app': GObject.ParamSpec.object('app', null, null,
             GObject.ParamFlags.READWRITE,
             Shell.App),
-        'message': GObject.ParamSpec.string('message', '', '',
+        'message': GObject.ParamSpec.string('message', null, null,
             GObject.ParamFlags.READWRITE,
             null),
     },
index 6d7402dcc743204174a799ca186b8a92f73806b4..a6ececc1386896faa42dd3cfa954ce59b5969176 100644 (file)
@@ -21,7 +21,7 @@ const BrightnessProxy = Gio.DBusProxy.makeProxyWrapper(BrightnessInterface);
 const SliderItem = GObject.registerClass({
     Properties: {
         'value': GObject.ParamSpec.int(
-            'value', '', '',
+            'value', null, null,
             GObject.ParamFlags.READWRITE,
             0, 100, 0),
     },
@@ -60,11 +60,11 @@ const SliderItem = GObject.registerClass({
 const DiscreteItem = GObject.registerClass({
     Properties: {
         'value': GObject.ParamSpec.int(
-            'value', '', '',
+            'value', null, null,
             GObject.ParamFlags.READWRITE,
             0, 100, 0),
         'n-levels': GObject.ParamSpec.int(
-            'n-levels', '', '',
+            'n-levels', null, null,
             GObject.ParamFlags.READWRITE,
             1, 3, 1),
     },
index bd0ff7594323211003974d377a66b45e1d48fc1d..5d3581c423c4bcce10d1b1fea94114ae24dc7122 100644 (file)
@@ -27,13 +27,13 @@ const STATE_CHANGE_FAILED_TIMEOUT_MS = 30 * 1000;
 
 const BtClient = GObject.registerClass({
     Properties: {
-        'available': GObject.ParamSpec.boolean('available', '', '',
+        'available': GObject.ParamSpec.boolean('available', null, null,
             GObject.ParamFlags.READABLE,
             false),
-        'active': GObject.ParamSpec.boolean('active', '', '',
+        'active': GObject.ParamSpec.boolean('active', null, null,
             GObject.ParamFlags.READABLE,
             false),
-        'adapter-state': GObject.ParamSpec.enum('adapter-state', '', '',
+        'adapter-state': GObject.ParamSpec.enum('adapter-state', null, null,
             GObject.ParamFlags.READABLE,
             AdapterState, AdapterState.ABSENT),
     },
index 9f37cbcc218842e742251d28d19b36dfdff73488..23b8b15f59f06282ce158c1e56ab67a3f61f5ba9 100644 (file)
@@ -57,15 +57,15 @@ export function getGeoclueAgent() {
 const GeoclueAgent = GObject.registerClass({
     Properties: {
         'enabled': GObject.ParamSpec.boolean(
-            'enabled', 'Enabled', 'Enabled',
+            'enabled', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'in-use': GObject.ParamSpec.boolean(
-            'in-use', 'In use', 'In use',
+            'in-use', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'max-accuracy-level': GObject.ParamSpec.int(
-            'max-accuracy-level', 'Max accuracy level', 'Max accuracy level',
+            'max-accuracy-level', null, null,
             GObject.ParamFlags.READABLE,
             0, 8, 0),
     },
index aca24182767f46d24c188fdddabfbc1d1b25ea63..a4c6b90b5e3eaf496272e4d95fd738be1fc91d58 100644 (file)
@@ -159,16 +159,16 @@ class ItemSorter {
 
 const NMMenuItem = GObject.registerClass({
     Properties: {
-        'radio-mode': GObject.ParamSpec.boolean('radio-mode', '', '',
+        'radio-mode': GObject.ParamSpec.boolean('radio-mode', null, null,
             GObject.ParamFlags.READWRITE,
             false),
-        'is-active': GObject.ParamSpec.boolean('is-active', '', '',
+        'is-active': GObject.ParamSpec.boolean('is-active', null, null,
             GObject.ParamFlags.READABLE,
             false),
-        'name': GObject.ParamSpec.string('name', '', '',
+        'name': GObject.ParamSpec.string('name', null, null,
             GObject.ParamFlags.READWRITE,
             ''),
-        'icon-name': GObject.ParamSpec.string('icon-name', '', '',
+        'icon-name': GObject.ParamSpec.string('icon-name', null, null,
             GObject.ParamFlags.READWRITE,
             ''),
     },
@@ -219,7 +219,7 @@ const NMMenuItem = GObject.registerClass({
  */
 const NMSectionItem = GObject.registerClass({
     Properties: {
-        'use-submenu': GObject.ParamSpec.boolean('use-submenu', '', '',
+        'use-submenu': GObject.ParamSpec.boolean('use-submenu', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
@@ -398,7 +398,7 @@ class NMConnectionItem extends NMMenuItem {
 
 const NMDeviceConnectionItem = GObject.registerClass({
     Properties: {
-        'device-name': GObject.ParamSpec.string('device-name', '', '',
+        'device-name': GObject.ParamSpec.string('device-name', null, null,
             GObject.ParamFlags.READWRITE,
             ''),
     },
@@ -421,7 +421,7 @@ const NMDeviceConnectionItem = GObject.registerClass({
 
 const NMDeviceItem = GObject.registerClass({
     Properties: {
-        'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', '', '',
+        'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
@@ -735,23 +735,23 @@ class NMBluetoothDeviceItem extends NMDeviceItem {
 const WirelessNetwork = GObject.registerClass({
     Properties: {
         'name': GObject.ParamSpec.string(
-            'name', '', '',
+            'name', null, null,
             GObject.ParamFlags.READABLE,
             ''),
         'icon-name': GObject.ParamSpec.string(
-            'icon-name', '', '',
+            'icon-name', null, null,
             GObject.ParamFlags.READABLE,
             ''),
         'secure': GObject.ParamSpec.boolean(
-            'secure', '', '',
+            'secure', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'is-active': GObject.ParamSpec.boolean(
-            'is-active', '', '',
+            'is-active', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'signal-strength': GObject.ParamSpec.uint(
-            'signal-strength', '', '',
+            'signal-strength', null, null,
             GObject.ParamFlags.READABLE,
             0),
     },
@@ -1065,10 +1065,10 @@ class NMWirelessNetworkItem extends PopupMenu.PopupBaseMenuItem {
 
 const NMWirelessDeviceItem = GObject.registerClass({
     Properties: {
-        'is-hotspot': GObject.ParamSpec.boolean('is-hotspot', '', '',
+        'is-hotspot': GObject.ParamSpec.boolean('is-hotspot', null, null,
             GObject.ParamFlags.READABLE,
             false),
-        'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', '', '',
+        'single-device-mode': GObject.ParamSpec.boolean('single-device-mode', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
index e566db2e98a1314f2cc25cd386230daf6eb4deba..96238cf8742db4ec7636c1717154a0a2e1ac4f56 100644 (file)
@@ -15,15 +15,15 @@ const rfkillManagerInfo = Gio.DBusInterfaceInfo.new_for_xml(RfkillManagerInterfa
 const RfkillManager = GObject.registerClass({
     Properties: {
         'airplane-mode': GObject.ParamSpec.boolean(
-            'airplane-mode', '', '',
+            'airplane-mode', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'hw-airplane-mode': GObject.ParamSpec.boolean(
-            'hw-airplane-mode', '', '',
+            'hw-airplane-mode', null, null,
             GObject.ParamFlags.READABLE,
             false),
         'show-airplane-mode': GObject.ParamSpec.boolean(
-            'show-airplane-mode', '', '',
+            'show-airplane-mode', null, null,
             GObject.ParamFlags.READABLE,
             false),
     },
index 0226f54c9159ec23e596dcf2d75f775058494be0..baebf21ef6225136d0b4df72e2fc956323be066f 100644 (file)
@@ -26,7 +26,7 @@ const SHOW_BATTERY_PERCENTAGE = 'show-battery-percentage';
 
 const PowerToggle = GObject.registerClass({
     Properties: {
-        'fallback-icon-name': GObject.ParamSpec.string('fallback-icon-name', '', '',
+        'fallback-icon-name': GObject.ParamSpec.string('fallback-icon-name', null, null,
             GObject.ParamFlags.READWRITE,
             ''),
     },
index 45c72e8c375c3ff0f0aae63059c64ae99eb2e3f6..43a4cbadf5fd68074e4466852fa34fd9b6e969bd 100644 (file)
@@ -89,11 +89,11 @@ const EventHistory = class {
 const TouchpadSwipeGesture = GObject.registerClass({
     Properties: {
         'enabled': GObject.ParamSpec.boolean(
-            'enabled', 'enabled', 'enabled',
+            'enabled', null, null,
             GObject.ParamFlags.READWRITE,
             true),
         'orientation': GObject.ParamSpec.enum(
-            'orientation', 'orientation', 'orientation',
+            'orientation', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
     },
@@ -211,11 +211,11 @@ const TouchpadSwipeGesture = GObject.registerClass({
 const TouchSwipeGesture = GObject.registerClass({
     Properties: {
         'distance': GObject.ParamSpec.double(
-            'distance', 'distance', 'distance',
+            'distance', null, null,
             GObject.ParamFlags.READWRITE,
             0, Infinity, 0),
         'orientation': GObject.ParamSpec.enum(
-            'orientation', 'orientation', 'orientation',
+            'orientation', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
     },
@@ -302,15 +302,15 @@ const TouchSwipeGesture = GObject.registerClass({
 const ScrollGesture = GObject.registerClass({
     Properties: {
         'enabled': GObject.ParamSpec.boolean(
-            'enabled', 'enabled', 'enabled',
+            'enabled', null, null,
             GObject.ParamFlags.READWRITE,
             true),
         'orientation': GObject.ParamSpec.enum(
-            'orientation', 'orientation', 'orientation',
+            'orientation', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
         'scroll-modifiers': GObject.ParamSpec.flags(
-            'scroll-modifiers', 'scroll-modifiers', 'scroll-modifiers',
+            'scroll-modifiers', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.ModifierType, 0),
     },
@@ -430,23 +430,23 @@ const ScrollGesture = GObject.registerClass({
 export const SwipeTracker = GObject.registerClass({
     Properties: {
         'enabled': GObject.ParamSpec.boolean(
-            'enabled', 'enabled', 'enabled',
+            'enabled', null, null,
             GObject.ParamFlags.READWRITE,
             true),
         'orientation': GObject.ParamSpec.enum(
-            'orientation', 'orientation', 'orientation',
+            'orientation', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.Orientation, Clutter.Orientation.HORIZONTAL),
         'distance': GObject.ParamSpec.double(
-            'distance', 'distance', 'distance',
+            'distance', null, null,
             GObject.ParamFlags.READWRITE,
             0, Infinity, 0),
         'allow-long-swipes': GObject.ParamSpec.boolean(
-            'allow-long-swipes', 'allow-long-swipes', 'allow-long-swipes',
+            'allow-long-swipes', null, null,
             GObject.ParamFlags.READWRITE,
             false),
         'scroll-modifiers': GObject.ParamSpec.flags(
-            'scroll-modifiers', 'scroll-modifiers', 'scroll-modifiers',
+            'scroll-modifiers', null, null,
             GObject.ParamFlags.READWRITE,
             Clutter.ModifierType, 0),
     },
index 9accb462c7530c2b269fdfc454e6c3e424ccc210..28377fd5f26761468ec4e81e300fded4c60fdf92 100644 (file)
@@ -29,7 +29,7 @@ const ICON_TITLE_SPACING = 6;
 export const WindowPreview = GObject.registerClass({
     Properties: {
         'overlay-enabled': GObject.ParamSpec.boolean(
-            'overlay-enabled', 'overlay-enabled', 'overlay-enabled',
+            'overlay-enabled', null, null,
             GObject.ParamFlags.READWRITE,
             true),
     },
index 4355a104a3e0eee40db3c5e52705c0ff2f0cdd40..adbecb28b30232225209974c6bdd96f4fb491634 100644 (file)
@@ -401,11 +401,11 @@ function animateAllocation(actor, box) {
 export const WorkspaceLayout = GObject.registerClass({
     Properties: {
         'spacing': GObject.ParamSpec.double(
-            'spacing', 'Spacing', 'Spacing',
+            'spacing', null, null,
             GObject.ParamFlags.READWRITE,
             0, Infinity, 20),
         'layout-frozen': GObject.ParamSpec.boolean(
-            'layout-frozen', 'Layout frozen', 'Layout frozen',
+            'layout-frozen', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     },
index d854018a625c80eb705388433485bf65ff83c21d..02d91a862c1d1e4a28cbb8400089df1eab27f659 100644 (file)
@@ -149,7 +149,7 @@ class WorkspaceGroup extends Clutter.Actor {
 export const MonitorGroup = GObject.registerClass({
     Properties: {
         'progress': GObject.ParamSpec.double(
-            'progress', 'progress', 'progress',
+            'progress', null, null,
             GObject.ParamFlags.READWRITE,
             -Infinity, Infinity, 0),
     },
index 829a5cae046cc059b225f3a0206782c9f3852616..a484dce12f3f4a8b75048fc2bb28c8a8656f2afb 100644 (file)
@@ -224,11 +224,11 @@ export const ThumbnailState = {
 export const WorkspaceThumbnail = GObject.registerClass({
     Properties: {
         'collapse-fraction': GObject.ParamSpec.double(
-            'collapse-fraction', 'collapse-fraction', 'collapse-fraction',
+            'collapse-fraction', null, null,
             GObject.ParamFlags.READWRITE,
             0, 1, 0),
         'slide-position': GObject.ParamSpec.double(
-            'slide-position', 'slide-position', 'slide-position',
+            'slide-position', null, null,
             GObject.ParamFlags.READWRITE,
             0, 1, 0),
     },
@@ -574,15 +574,15 @@ export const WorkspaceThumbnail = GObject.registerClass({
 export const ThumbnailsBox = GObject.registerClass({
     Properties: {
         'expand-fraction': GObject.ParamSpec.double(
-            'expand-fraction', 'expand-fraction', 'expand-fraction',
+            'expand-fraction', null, null,
             GObject.ParamFlags.READWRITE,
             0, 1, 1),
         'scale': GObject.ParamSpec.double(
-            'scale', 'scale', 'scale',
+            'scale', null, null,
             GObject.ParamFlags.READWRITE,
             0, Infinity, 0),
         'should-show': GObject.ParamSpec.boolean(
-            'should-show', 'should-show', 'should-show',
+            'should-show', null, null,
             GObject.ParamFlags.READABLE,
             true),
     },
index 7e3e86e03ea645259d2be484d1e62d4a9de946d7..16fade25ac0513f76c57f9fb06460c6ef29bdadc 100644 (file)
@@ -670,8 +670,7 @@ gtk_action_muxer_class_init (GObjectClass *class)
   accel_signal = g_signal_new ("primary-accel-changed", GTK_TYPE_ACTION_MUXER, G_SIGNAL_RUN_LAST,
                                0, NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
 
-  properties[PROP_PARENT] = g_param_spec_object ("parent", "Parent",
-                                                 "The parent muxer",
+  properties[PROP_PARENT] = g_param_spec_object ("parent", NULL, NULL,
                                                  GTK_TYPE_ACTION_MUXER,
                                                  G_PARAM_READWRITE |
                                                  G_PARAM_STATIC_STRINGS);
index 7a1c1fe895148c35b0cdbadceacc680d1042f4e2..49176b1fe8d2892bcc175afb3eb8038a5c8bcbfe 100644 (file)
@@ -537,9 +537,7 @@ shell_mime_sniffer_class_init (ShellMimeSnifferClass *klass)
   oclass->set_property = shell_mime_sniffer_set_property;
 
   properties[PROP_FILE] =
-    g_param_spec_object ("file",
-                         "File",
-                         "The loaded file",
+    g_param_spec_object ("file", NULL, NULL,
                          G_TYPE_FILE,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
index 04d0ab508bb1a0b234fbc7b282c3e9a93d01af4e..d413ea2455588548b26cd41aa567d57a1e664558 100644 (file)
@@ -1770,9 +1770,7 @@ shell_app_class_init(ShellAppClass *klass)
    * running or not, or transitioning between those states.
    */
   props[PROP_STATE] =
-    g_param_spec_enum ("state",
-                       "State",
-                       "Application state",
+    g_param_spec_enum ("state", NULL, NULL,
                        SHELL_TYPE_APP_STATE,
                        SHELL_APP_STATE_STOPPED,
                        G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
@@ -1783,9 +1781,7 @@ shell_app_class_init(ShellAppClass *klass)
    * Whether the application has marked itself as busy.
    */
   props[PROP_BUSY] =
-    g_param_spec_boolean ("busy",
-                          "Busy",
-                          "Busy state",
+    g_param_spec_boolean ("busy", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -1796,9 +1792,7 @@ shell_app_class_init(ShellAppClass *klass)
    * like window:0xabcd1234)
    */
   props[PROP_ID] =
-    g_param_spec_string ("id",
-                         "Application id",
-                         "The desktop file id of this ShellApp",
+    g_param_spec_string ("id", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -1808,9 +1802,7 @@ shell_app_class_init(ShellAppClass *klass)
    * The #GIcon representing this ShellApp
    */
   props[PROP_ICON] =
-    g_param_spec_object ("icon",
-                         "GIcon",
-                         "The GIcon representing this app",
+    g_param_spec_object ("icon", NULL, NULL,
                          G_TYPE_ICON,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -1821,9 +1813,7 @@ shell_app_class_init(ShellAppClass *klass)
    * documentation of #GApplication and #GActionGroup for details.
    */
   props[PROP_ACTION_GROUP] =
-    g_param_spec_object ("action-group",
-                         "Application Action Group",
-                         "The action group exported by the remote application",
+    g_param_spec_object ("action-group", NULL, NULL,
                          G_TYPE_ACTION_GROUP,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -1833,9 +1823,7 @@ shell_app_class_init(ShellAppClass *klass)
    * The #GDesktopAppInfo associated with this ShellApp, if any.
    */
   props[PROP_APP_INFO] =
-    g_param_spec_object ("app-info",
-                         "DesktopAppInfo",
-                         "The DesktopAppInfo associated with this app",
+    g_param_spec_object ("app-info", NULL, NULL,
                          G_TYPE_DESKTOP_APP_INFO,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index 06bd614f4447d756367f4d4ebe3896b45cacd0f0..1bcd8ba475337009c2bdda5c70bc00110798aebd 100644 (file)
@@ -775,23 +775,17 @@ shell_blur_effect_class_init (ShellBlurEffectClass *klass)
   effect_class->paint_node = shell_blur_effect_paint_node;
 
   properties[PROP_RADIUS] =
-    g_param_spec_int ("radius",
-                      "Radius",
-                      "Radius in pixels",
+    g_param_spec_int ("radius", NULL, NULL,
                       0, G_MAXINT, 0,
                       G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   properties[PROP_BRIGHTNESS] =
-    g_param_spec_float ("brightness",
-                        "Brightness",
-                        "Brightness",
+    g_param_spec_float ("brightness", NULL, NULL,
                         0.f, 1.f, 1.f,
                         G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   properties[PROP_MODE] =
-    g_param_spec_enum ("mode",
-                       "Blur mode",
-                       "Blur mode",
+    g_param_spec_enum ("mode", NULL, NULL,
                        SHELL_TYPE_BLUR_MODE,
                        SHELL_BLUR_MODE_ACTOR,
                        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
index b2e6e0b2af2629d51ad13a172559235e204cb28c..85d4f776b92ba40dc3f0640741414acd6c7869fe 100644 (file)
@@ -417,9 +417,7 @@ shell_camera_monitor_class_init (ShellCameraMonitorClass *klass)
   object_class->get_property = shell_camera_monitor_get_property;
 
   obj_props[PROP_CAMERAS_IN_USE] =
-    g_param_spec_boolean ("cameras-in-use",
-                          "Cameras in use",
-                          "Whether any camera is currently used by an app",
+    g_param_spec_boolean ("cameras-in-use", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index 724534fb1af464a73b126cdb4856104da0925cd4..7e6f7d525a708047b566027893b8ed85c19b3e60 100644 (file)
@@ -550,156 +550,112 @@ shell_global_class_init (ShellGlobalClass *klass)
                     G_TYPE_NONE, 0);
 
   props[PROP_SESSION_MODE] =
-    g_param_spec_string ("session-mode",
-                         "Session Mode",
-                         "The session mode to use",
+    g_param_spec_string ("session-mode", NULL, NULL,
                          "user",
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
   props[PROP_SCREEN_WIDTH] =
-    g_param_spec_int ("screen-width",
-                      "Screen Width",
-                      "Screen width, in pixels",
+    g_param_spec_int ("screen-width", NULL, NULL,
                       0, G_MAXINT, 1,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_SCREEN_HEIGHT] =
-    g_param_spec_int ("screen-height",
-                      "Screen Height",
-                      "Screen height, in pixels",
+    g_param_spec_int ("screen-height", NULL, NULL,
                       0, G_MAXINT, 1,
                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_BACKEND] =
-    g_param_spec_object ("backend",
-                         "Backend",
-                         "MetaBackend object",
+    g_param_spec_object ("backend", NULL, NULL,
                          META_TYPE_BACKEND,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_CONTEXT] =
-    g_param_spec_object ("context",
-                         "Context",
-                         "MetaContext object",
+    g_param_spec_object ("context", NULL, NULL,
                          META_TYPE_CONTEXT,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_DISPLAY] =
-    g_param_spec_object ("display",
-                         "Display",
-                         "Metacity display object for the shell",
+    g_param_spec_object ("display", NULL, NULL,
                          META_TYPE_DISPLAY,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_COMPOSITOR] =
-    g_param_spec_object ("compositor",
-                         "Compositor",
-                         "MetaCompositor object",
+    g_param_spec_object ("compositor", NULL, NULL,
                          META_TYPE_COMPOSITOR,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_WORKSPACE_MANAGER] =
-    g_param_spec_object ("workspace-manager",
-                         "Workspace manager",
-                         "Workspace manager",
+    g_param_spec_object ("workspace-manager", NULL, NULL,
                          META_TYPE_WORKSPACE_MANAGER,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_STAGE] =
-    g_param_spec_object ("stage",
-                         "Stage",
-                         "Stage holding the desktop scene graph",
+    g_param_spec_object ("stage", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_WINDOW_GROUP] =
-    g_param_spec_object ("window-group",
-                         "Window Group",
-                         "Actor holding window actors",
+    g_param_spec_object ("window-group", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_TOP_WINDOW_GROUP] =
-    g_param_spec_object ("top-window-group",
-                         "Top Window Group",
-                         "Actor holding override-redirect windows",
+    g_param_spec_object ("top-window-group", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_WINDOW_MANAGER] =
-    g_param_spec_object ("window-manager",
-                         "Window Manager",
-                         "Window management interface",
+    g_param_spec_object ("window-manager", NULL, NULL,
                          SHELL_TYPE_WM,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_SETTINGS] =
-    g_param_spec_object ("settings",
-                         "Settings",
-                         "GSettings instance for gnome-shell configuration",
+    g_param_spec_object ("settings", NULL, NULL,
                          G_TYPE_SETTINGS,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_DATADIR] =
-    g_param_spec_string ("datadir",
-                         "Data directory",
-                         "Directory containing gnome-shell data files",
+    g_param_spec_string ("datadir", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_IMAGEDIR] =
-    g_param_spec_string ("imagedir",
-                         "Image directory",
-                         "Directory containing gnome-shell image files",
+    g_param_spec_string ("imagedir", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_USERDATADIR] =
-    g_param_spec_string ("userdatadir",
-                         "User data directory",
-                         "Directory containing gnome-shell user data",
+    g_param_spec_string ("userdatadir", NULL, NULL,
                          NULL,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_FOCUS_MANAGER] =
-    g_param_spec_object ("focus-manager",
-                         "Focus manager",
-                         "The shell's StFocusManager",
+    g_param_spec_object ("focus-manager", NULL, NULL,
                          ST_TYPE_FOCUS_MANAGER,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_FRAME_TIMESTAMPS] =
-    g_param_spec_boolean ("frame-timestamps",
-                          "Frame Timestamps",
-                          "Whether to log frame timestamps in the performance log",
+    g_param_spec_boolean ("frame-timestamps", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_FRAME_FINISH_TIMESTAMP] =
-    g_param_spec_boolean ("frame-finish-timestamp",
-                          "Frame Finish Timestamps",
-                          "Whether at the end of a frame to call glFinish and log paintCompletedTimestamp",
+    g_param_spec_boolean ("frame-finish-timestamp", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   props[PROP_SWITCHEROO_CONTROL] =
-    g_param_spec_object ("switcheroo-control",
-                         "switcheroo-control",
-                         "D-Bus Proxy for switcheroo-control daemon",
+    g_param_spec_object ("switcheroo-control", NULL, NULL,
                          G_TYPE_DBUS_PROXY,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
   props[PROP_FORCE_ANIMATIONS] =
-    g_param_spec_boolean ("force-animations",
-                          "force-animations",
-                          "Force animations to be enabled",
+    g_param_spec_boolean ("force-animations", NULL, NULL,
                           FALSE,
                           G_PARAM_READWRITE  | G_PARAM_CONSTRUCT| G_PARAM_STATIC_STRINGS);
 
   props[PROP_AUTOMATION_SCRIPT] =
-    g_param_spec_object ("automation-script",
-                         "automation-script",
-                         "Automation script to run after startup",
+    g_param_spec_object ("automation-script", NULL, NULL,
                          G_TYPE_FILE,
                          G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
 
index d90db3b1c3170bacd2d429518894b250fd094d65..d97b72c588f90ebc16895d626853ce5bd7abd6e2 100644 (file)
@@ -353,9 +353,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
    * Whether the password entry is visible or not.
    */
   props[PROP_PASSWORD_VISIBLE] =
-    g_param_spec_boolean ("password-visible",
-                          "Password visible",
-                          "Password field is visible",
+    g_param_spec_boolean ("password-visible", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -365,9 +363,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
     * Whether the password confirm entry is visible or not.
     */
   props[PROP_CONFIRM_VISIBLE] =
-    g_param_spec_boolean ("confirm-visible",
-                          "Confirm visible",
-                          "Confirm field is visible",
+    g_param_spec_boolean ("confirm-visible", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -377,9 +373,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
    * Whether the warning label is visible or not.
    */
   props[PROP_WARNING_VISIBLE] =
-    g_param_spec_boolean ("warning-visible",
-                          "Warning visible",
-                          "Warning is visible",
+    g_param_spec_boolean ("warning-visible", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -389,9 +383,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
    * Whether the choice check box is visible or not.
    */
   props[PROP_CHOICE_VISIBLE] =
-    g_param_spec_boolean ("choice-visible",
-                          "Choice visible",
-                          "Choice is visible",
+    g_param_spec_boolean ("choice-visible", NULL, NULL,
                           FALSE,
                           G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
@@ -401,9 +393,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
    * Text field for password
    */
   props[PROP_PASSWORD_ACTOR] =
-    g_param_spec_object ("password-actor",
-                         "Password actor",
-                         "Text field for password",
+    g_param_spec_object ("password-actor", NULL, NULL,
                          CLUTTER_TYPE_TEXT,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -413,9 +403,7 @@ shell_keyring_prompt_class_init (ShellKeyringPromptClass *klass)
    * Text field for confirmation password
    */
   props[PROP_CONFIRM_ACTOR] =
-    g_param_spec_object ("confirm-actor",
-                         "Confirm actor",
-                         "Text field for confirming password",
+    g_param_spec_object ("confirm-actor", NULL, NULL,
                          CLUTTER_TYPE_TEXT,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
index 3eee5f5bf52363861a07d0c5a049bb818d57d49d..3af5cc4b8b04fc5bdd6074c5155e3c3522299e5d 100644 (file)
@@ -208,23 +208,17 @@ shell_tray_icon_class_init (ShellTrayIconClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_PID,
-                                   g_param_spec_uint ("pid",
-                                                      "PID",
-                                                      "The PID of the icon's application",
+                                   g_param_spec_uint ("pid", NULL, NULL,
                                                       0, G_MAXUINT, 0,
                                                       G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_TITLE,
-                                   g_param_spec_string ("title",
-                                                        "Title",
-                                                        "The icon's window title",
+                                   g_param_spec_string ("title", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class,
                                    PROP_WM_CLASS,
-                                   g_param_spec_string ("wm-class",
-                                                        "WM Class",
-                                                        "The icon's window WM_CLASS",
+                                   g_param_spec_string ("wm-class", NULL, NULL,
                                                         NULL,
                                                         G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
 }
index c283a705144de7700009af3f60360c21c42851de..a686e602b30530444f6fb66e786acf74eb07ca10 100644 (file)
@@ -173,9 +173,7 @@ shell_tray_manager_class_init (ShellTrayManagerClass *klass)
    */
   g_object_class_install_property (gobject_class,
                                    PROP_BG_COLOR,
-                                   g_param_spec_boxed ("bg-color",
-                                                       "BG Color",
-                                                       "Background color (only if we don't have transparency)",
+                                   g_param_spec_boxed ("bg-color", NULL, NULL,
                                                        COGL_TYPE_COLOR,
                                                        G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 }
index 28676d7cef5e88ec1a86c14b0a9ec854da952e84..d7e6d4d67057e0fcba039cba070f4d2b18f089e9 100644 (file)
@@ -337,9 +337,7 @@ shell_window_preview_layout_class_init (ShellWindowPreviewLayoutClass *klass)
    * ShellWindowPreviewLayout:bounding-box:
    */
   obj_props[PROP_BOUNDING_BOX] =
-    g_param_spec_boxed ("bounding-box",
-                        "Bounding Box",
-                        "Bounding Box",
+    g_param_spec_boxed ("bounding-box", NULL, NULL,
                         CLUTTER_TYPE_ACTOR_BOX,
                         G_PARAM_READABLE |
                         G_PARAM_STATIC_STRINGS);
index 47a11c5240a5c6b0236cf0501989925b5468b37f..2d08fac1716c181540af6a23c976cf2cafb15e6e 100644 (file)
@@ -165,9 +165,7 @@ shell_window_preview_class_init (ShellWindowPreviewClass *klass)
    * ShellWindowPreview:window-container:
    */
   obj_props[PROP_WINDOW_CONTAINER] =
-    g_param_spec_object ("window-container",
-                         "window-container",
-                         "window-container",
+    g_param_spec_object ("window-container", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          G_PARAM_READWRITE |
                          G_PARAM_EXPLICIT_NOTIFY |
index d17a9a3fe710ad02ec1589686cfafafe855906b8..3704e7b313000bc29e29aea0a447243dd4868fb7 100644 (file)
@@ -105,9 +105,7 @@ shell_window_tracker_class_init (ShellWindowTrackerClass *klass)
   gobject_class->finalize = shell_window_tracker_finalize;
 
   props[PROP_FOCUS_APP] =
-    g_param_spec_object ("focus-app",
-                         "Focus App",
-                         "Focused application",
+    g_param_spec_object ("focus-app", NULL, NULL,
                          SHELL_TYPE_APP,
                          G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
 
index 290441ac822264403fb7538a0ac20645e1229ea5..2d1bd2c5bd2b9a9fde84389fc25f420aab16e1de 100644 (file)
@@ -195,7 +195,7 @@ shell_workspace_background_class_init (ShellWorkspaceBackgroundClass *klass)
    * ShellWorkspaceBackground:monitor-index:
    */
   obj_props[PROP_MONITOR_INDEX] =
-    g_param_spec_int ("monitor-index", "", "",
+    g_param_spec_int ("monitor-index", NULL, NULL,
                       0, G_MAXINT, 0,
                       G_PARAM_READWRITE |
                       G_PARAM_CONSTRUCT_ONLY |
@@ -206,7 +206,7 @@ shell_workspace_background_class_init (ShellWorkspaceBackgroundClass *klass)
    * ShellWorkspaceBackground:state-adjustment-value:
    */
   obj_props[PROP_STATE_ADJUSTMENT_VALUE] =
-    g_param_spec_double ("state-adjustment-value", "", "",
+    g_param_spec_double ("state-adjustment-value", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
                          G_PARAM_READWRITE |
                          G_PARAM_STATIC_STRINGS |
index 2cf5f9260de42d5bce0f44abe550add7f8bd42a7..d8e0eb12759f57afcf7178fb38aea9e6cc2ef5d8 100644 (file)
@@ -329,7 +329,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * monitor should drive the animation.
    */
   props[PROP_ACTOR] =
-    g_param_spec_object ("actor", "Actor", "Actor",
+    g_param_spec_object ("actor", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          ST_PARAM_READWRITE |
                          G_PARAM_EXPLICIT_NOTIFY);
@@ -340,7 +340,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * The minimum value of the adjustment.
    */
   props[PROP_LOWER] =
-    g_param_spec_double ("lower", "Lower", "Lower bound",
+    g_param_spec_double ("lower", NULL, NULL,
                          -G_MAXDOUBLE,  G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -355,7 +355,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * #StAdjustment:page-size is non-zero.
    */
   props[PROP_UPPER] =
-    g_param_spec_double ("upper", "Upper", "Upper bound",
+    g_param_spec_double ("upper", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -367,7 +367,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * The value of the adjustment.
    */
   props[PROP_VALUE] =
-    g_param_spec_double ("value", "Value", "Current value",
+    g_param_spec_double ("value", NULL, NULL,
                          -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -379,7 +379,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * The step increment of the adjustment.
    */
   props[PROP_STEP_INC] =
-    g_param_spec_double ("step-increment", "Step Increment", "Step increment",
+    g_param_spec_double ("step-increment", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -391,7 +391,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * The page increment of the adjustment.
    */
   props[PROP_PAGE_INC] =
-    g_param_spec_double ("page-increment", "Page Increment", "Page increment",
+    g_param_spec_double ("page-increment", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
@@ -406,7 +406,7 @@ st_adjustment_class_init (StAdjustmentClass *klass)
    * adjustment is used for a simple scalar value.
    */
   props[PROP_PAGE_SIZE] =
-    g_param_spec_double ("page-size", "Page Size", "Page size",
+    g_param_spec_double ("page-size", NULL, NULL,
                          0.0, G_MAXDOUBLE, 0.0,
                          ST_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT |
index 21c9c5ea0e81989caf268fce8f7096ed4e7082ec..33edc606ee6703cc45aff4d9bf144beb4b65fd74 100644 (file)
@@ -207,9 +207,7 @@ st_bin_class_init (StBinClass *klass)
    * The child #ClutterActor of the #StBin container.
    */
   props[PROP_CHILD] =
-    g_param_spec_object ("child",
-                         "Child",
-                         "The child of the Bin",
+    g_param_spec_object ("child", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index ad7f33c7818c5aad851af120802d49795e0bdd64..75e780d19240acd173abc5286bd46e480a88356e 100644 (file)
@@ -183,10 +183,7 @@ st_box_layout_class_init (StBoxLayoutClass *klass)
    * internal layout for #StBoxLayout.
    */
   props[PROP_VERTICAL] =
-    g_param_spec_boolean ("vertical",
-                          "Vertical",
-                          "Whether the layout should be vertical, rather"
-                          "than horizontal",
+    g_param_spec_boolean ("vertical", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -197,9 +194,7 @@ st_box_layout_class_init (StBoxLayoutClass *klass)
    * internal layout for #StBoxLayout.
    */
   props[PROP_PACK_START] =
-    g_param_spec_boolean ("pack-start",
-                          "Pack Start",
-                          "Whether to pack items at the start of the box",
+    g_param_spec_boolean ("pack-start", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_DEPRECATED);
 
index 64cfc2fab3461360c1e7efa12bf8aff98bfc983e..c178daeb8ae7db6a9074db2c7cb0ba4c1c6114c5 100644 (file)
@@ -495,9 +495,7 @@ st_button_class_init (StButtonClass *klass)
    * The label of the #StButton.
    */
   props[PROP_LABEL] =
-    g_param_spec_string ("label",
-                         "Label",
-                         "Label of the button",
+    g_param_spec_string ("label", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -507,9 +505,7 @@ st_button_class_init (StButtonClass *klass)
    * The icon name of the #StButton.
    */
   props[PROP_ICON_NAME] =
-    g_param_spec_string ("icon-name",
-                         "Icon name",
-                         "Icon name of the button",
+    g_param_spec_string ("icon-name", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -519,9 +515,7 @@ st_button_class_init (StButtonClass *klass)
    * Which buttons will trigger the #StButton::clicked signal.
    */
   props[PROP_BUTTON_MASK] =
-    g_param_spec_flags ("button-mask",
-                        "Button mask",
-                        "Which buttons trigger the 'clicked' signal",
+    g_param_spec_flags ("button-mask", NULL, NULL,
                         ST_TYPE_BUTTON_MASK, ST_BUTTON_ONE,
                         ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -531,9 +525,7 @@ st_button_class_init (StButtonClass *klass)
    * Whether the #StButton is operating in toggle mode (on/off).
    */
   props[PROP_TOGGLE_MODE] =
-    g_param_spec_boolean ("toggle-mode",
-                          "Toggle Mode",
-                          "Enable or disable toggling",
+    g_param_spec_boolean ("toggle-mode", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -547,9 +539,7 @@ st_button_class_init (StButtonClass *klass)
    * pseudo-class set.
    */
   props[PROP_CHECKED] =
-    g_param_spec_boolean ("checked",
-                          "Checked",
-                          "Indicates if a toggle button is \"on\" or \"off\"",
+    g_param_spec_boolean ("checked", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -560,9 +550,7 @@ st_button_class_init (StButtonClass *klass)
    * #StButton is being actively pressed, rather than just in the "on" state.
    */
   props[PROP_PRESSED] =
-    g_param_spec_boolean ("pressed",
-                          "Pressed",
-                          "Indicates if the button is pressed in",
+    g_param_spec_boolean ("pressed", NULL, NULL,
                           FALSE,
                           ST_PARAM_READABLE);
 
index 62558135ccd19ee5758221ae127469be885937bf..907afa5f3f5faf02f73a101d629191b378b61372 100644 (file)
@@ -912,9 +912,7 @@ st_entry_class_init (StEntryClass *klass)
    * The internal #ClutterText actor supporting the #StEntry.
    */
   props[PROP_CLUTTER_TEXT] =
-    g_param_spec_object ("clutter-text",
-                         "Clutter Text",
-                         "Internal ClutterText actor",
+    g_param_spec_object ("clutter-text", NULL, NULL,
                          CLUTTER_TYPE_TEXT,
                          ST_PARAM_READABLE);
 
@@ -924,9 +922,7 @@ st_entry_class_init (StEntryClass *klass)
    * The #ClutterActor acting as the primary icon at the start of the #StEntry.
    */
   props[PROP_PRIMARY_ICON] =
-    g_param_spec_object ("primary-icon",
-                         "Primary Icon",
-                         "Primary Icon actor",
+    g_param_spec_object ("primary-icon", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -936,9 +932,7 @@ st_entry_class_init (StEntryClass *klass)
    * The #ClutterActor acting as the secondary icon at the end of the #StEntry.
    */
   props[PROP_SECONDARY_ICON] =
-    g_param_spec_object ("secondary-icon",
-                         "Secondary Icon",
-                         "Secondary Icon actor",
+    g_param_spec_object ("secondary-icon", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -949,10 +943,7 @@ st_entry_class_init (StEntryClass *klass)
    * will replace the actor of #StEntry::hint-actor.
    */
   props[PROP_HINT_TEXT] =
-    g_param_spec_string ("hint-text",
-                         "Hint Text",
-                         "Text to display when the entry is not focused "
-                         "and the text property is empty",
+    g_param_spec_string ("hint-text", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -963,10 +954,7 @@ st_entry_class_init (StEntryClass *klass)
    * this will replace the actor displaying #StEntry:hint-text.
    */
   props[PROP_HINT_ACTOR] =
-    g_param_spec_object ("hint-actor",
-                         "Hint Actor",
-                         "An actor to display when the entry is not focused "
-                         "and the text property is empty",
+    g_param_spec_object ("hint-actor", NULL, NULL,
                          CLUTTER_TYPE_ACTOR,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -976,9 +964,7 @@ st_entry_class_init (StEntryClass *klass)
    * The current text value of the #StEntry.
    */
   props[PROP_TEXT] =
-    g_param_spec_string ("text",
-                         "Text",
-                         "Text of the entry",
+    g_param_spec_string ("text", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -989,9 +975,7 @@ st_entry_class_init (StEntryClass *klass)
    * input methods to decide which keys should be presented to the user.
    */
   props[PROP_INPUT_PURPOSE] =
-    g_param_spec_enum ("input-purpose",
-                       "Purpose",
-                       "Purpose of the text field",
+    g_param_spec_enum ("input-purpose", NULL, NULL,
                        CLUTTER_TYPE_INPUT_CONTENT_PURPOSE,
                        CLUTTER_INPUT_CONTENT_PURPOSE_NORMAL,
                        ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -1004,9 +988,7 @@ st_entry_class_init (StEntryClass *klass)
    * behaviour.
    */
   props[PROP_INPUT_HINTS] =
-    g_param_spec_flags ("input-hints",
-                        "hints",
-                        "Hints for the text field behaviour",
+    g_param_spec_flags ("input-hints", NULL, NULL,
                         CLUTTER_TYPE_INPUT_CONTENT_HINT_FLAGS,
                         0,
                         ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
index 942dbcc86890ea94be750116afb833a1bbdde4cd..6209168676597d577fae4f49011dbaf27bab2e6d 100644 (file)
@@ -309,9 +309,7 @@ st_icon_class_init (StIconClass *klass)
    * The #GIcon being displayed by this #StIcon.
    */
   props[PROP_GICON] =
-    g_param_spec_object ("gicon",
-                         "GIcon",
-                         "The GIcon shown by this icon actor",
+    g_param_spec_object ("gicon", NULL, NULL,
                          G_TYPE_ICON,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -321,9 +319,7 @@ st_icon_class_init (StIconClass *klass)
    * The fallback #GIcon to display if #StIcon:gicon fails to load.
    */
   props[PROP_FALLBACK_GICON] =
-    g_param_spec_object ("fallback-gicon",
-                         "Fallback GIcon",
-                         "The fallback GIcon shown if the normal icon fails to load",
+    g_param_spec_object ("fallback-gicon", NULL, NULL,
                          G_TYPE_ICON,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -333,9 +329,7 @@ st_icon_class_init (StIconClass *klass)
    * The name of the icon if the icon being displayed is a #GThemedIcon.
    */
   props[PROP_ICON_NAME] =
-    g_param_spec_string ("icon-name",
-                         "Icon name",
-                         "An icon name",
+    g_param_spec_string ("icon-name", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -346,9 +340,7 @@ st_icon_class_init (StIconClass *klass)
    * from the current style.
    */
   props[PROP_ICON_SIZE] =
-    g_param_spec_int ("icon-size",
-                      "Icon size",
-                      "The size if the icon, if positive. Otherwise the size will be derived from the current style",
+    g_param_spec_int ("icon-size", NULL, NULL,
                       -1, G_MAXINT, -1,
                       ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -359,9 +351,7 @@ st_icon_class_init (StIconClass *klass)
    * for details.
    */
   props[PROP_FALLBACK_ICON_NAME] =
-    g_param_spec_string ("fallback-icon-name",
-                         "Fallback icon name",
-                         "A fallback icon name",
+    g_param_spec_string ("fallback-icon-name", NULL, NULL,
                          NULL,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -371,9 +361,7 @@ st_icon_class_init (StIconClass *klass)
    * Whether the #StIcon is symbolic.
    */
   props[PROP_IS_SYMBOLIC] =
-    g_param_spec_boolean ("is-symbolic",
-                          "Is Symbolic",
-                          "Whether the icon is symbolic",
+    g_param_spec_boolean ("is-symbolic", NULL, NULL,
                           FALSE,
                           ST_PARAM_READABLE | G_PARAM_EXPLICIT_NOTIFY);
 
index 9ab48f96e8e8f53632e80776d75cbab5f4ecd5b9..e9734f8591571acef2e5006d64bed5b43fff53db 100644 (file)
@@ -133,16 +133,12 @@ st_image_content_class_init (StImageContentClass *klass)
   object_class->get_property = st_image_content_get_property;
   object_class->set_property = st_image_content_set_property;
 
-  pspec = g_param_spec_int ("preferred-width",
-                            "Preferred Width",
-                            "Preferred Width of the Content when painted",
+  pspec = g_param_spec_int ("preferred-width", NULL, NULL,
                              -1, G_MAXINT, -1,
                              G_PARAM_CONSTRUCT_ONLY | ST_PARAM_READWRITE);
   g_object_class_install_property (object_class, PROP_PREFERRED_WIDTH, pspec);
 
-  pspec = g_param_spec_int ("preferred-height",
-                            "Preferred Height",
-                            "Preferred Height of the Content when painted",
+  pspec = g_param_spec_int ("preferred-height", NULL, NULL,
                              -1, G_MAXINT, -1,
                              G_PARAM_CONSTRUCT_ONLY | ST_PARAM_READWRITE);
   g_object_class_install_property (object_class, PROP_PREFERRED_HEIGHT, pspec);
index 10e2de59baad5459966da8a011a92c1294103218..70eabeff68a57e2177896cc2ff10db9dacfb3af4 100644 (file)
@@ -289,9 +289,7 @@ st_label_class_init (StLabelClass *klass)
    * The internal #ClutterText actor supporting the label
    */
   props[PROP_CLUTTER_TEXT] =
-      g_param_spec_object ("clutter-text",
-                           "Clutter Text",
-                           "Internal ClutterText actor",
+      g_param_spec_object ("clutter-text", NULL, NULL,
                            CLUTTER_TYPE_TEXT,
                            ST_PARAM_READABLE);
 
@@ -301,9 +299,7 @@ st_label_class_init (StLabelClass *klass)
    * The current text being display in the #StLabel.
    */
   props[PROP_TEXT] =
-      g_param_spec_string ("text",
-                           "Text",
-                           "Text of the label",
+      g_param_spec_string ("text", NULL, NULL,
                            NULL,
                            ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 43f9b5209faa956d810fd7453aa2bc50c8b8401a..b149e2d7f75c488cf0775932506f937ede95d98d 100644 (file)
@@ -151,9 +151,7 @@ st_password_entry_class_init (StPasswordEntryClass *klass)
    *
    * Whether the text in the entry is masked for privacy.
    */
-  props[PROP_PASSWORD_VISIBLE] = g_param_spec_boolean ("password-visible",
-                                                       "Password visible",
-                                                       "Whether the text in the entry is masked or not",
+  props[PROP_PASSWORD_VISIBLE] = g_param_spec_boolean ("password-visible", NULL, NULL,
                                                        FALSE,
                                                        ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -163,9 +161,7 @@ st_password_entry_class_init (StPasswordEntryClass *klass)
    * Whether to display an icon button to toggle the masking enabled by the
    * #StPasswordEntry:password-visible property.
    */
-  props[PROP_SHOW_PEEK_ICON] = g_param_spec_boolean ("show-peek-icon",
-                                                     "Show peek icon",
-                                                     "Whether to show the password peek icon",
+  props[PROP_SHOW_PEEK_ICON] = g_param_spec_boolean ("show-peek-icon", NULL, NULL,
                                                      TRUE,
                                                      ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 7b2d4987eac0d2f606bbbb8dd3f1b48acbc1ef62..e9f0e6c8cb9666d34ac9c3190f22f5a32c48a1b3 100644 (file)
@@ -533,7 +533,7 @@ st_scroll_bar_class_init (StScrollBarClass *klass)
    * The #StAdjustment controlling the #StScrollBar.
    */
   props[PROP_ADJUSTMENT] =
-    g_param_spec_object ("adjustment", "Adjustment", "The adjustment",
+    g_param_spec_object ("adjustment", NULL, NULL,
                          ST_TYPE_ADJUSTMENT,
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -543,9 +543,7 @@ st_scroll_bar_class_init (StScrollBarClass *klass)
    * Whether the #StScrollBar is vertical. If %FALSE it is horizontal.
    */
   props[PROP_VERTICAL] =
-    g_param_spec_boolean ("vertical",
-                          "Vertical Orientation",
-                          "Vertical Orientation",
+    g_param_spec_boolean ("vertical", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 095584518989c28ee9fb1f75ae1ab52a3a0c6976..d666b7cb86919f85ddfe90b04d6cecee5d98e326 100644 (file)
@@ -380,9 +380,7 @@ st_scroll_view_fade_class_init (StScrollViewFadeClass *klass)
    * The margins widths that are faded.
    */
   props[PROP_FADE_MARGINS] =
-    g_param_spec_boxed ("fade-margins",
-                        "Fade margins",
-                        "The margin widths that are faded",
+    g_param_spec_boxed ("fade-margins", NULL, NULL,
                         CLUTTER_TYPE_MARGIN,
                         ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -392,9 +390,7 @@ st_scroll_view_fade_class_init (StScrollViewFadeClass *klass)
    * Whether the faded area should extend to the edges of the #StScrollViewFade.
    */
   props[PROP_FADE_EDGES] =
-    g_param_spec_boolean ("fade-edges",
-                          "Fade Edges",
-                          "Whether the faded area should extend to the edges",
+    g_param_spec_boolean ("fade-edges", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -404,9 +400,7 @@ st_scroll_view_fade_class_init (StScrollViewFadeClass *klass)
    * Whether faded edges should extend beyond the faded area of the #StScrollViewFade.
    */
   props[PROP_EXTEND_FADE_AREA] =
-    g_param_spec_boolean ("extend-fade-area",
-                          "Extend Fade Area",
-                          "Whether faded edges should extend beyond the faded area",
+    g_param_spec_boolean ("extend-fade-area", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 1da7ce91fb61464165c6e1314c6dcf59756508fe..5ead4097798f6c8fd3bc5ffeade1b75f0164c7db 100644 (file)
@@ -874,9 +874,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The horizontal #StScrollBar for the #StScrollView.
    */
   props[PROP_HSCROLL] =
-    g_param_spec_object ("hscroll",
-                         "StScrollBar",
-                         "Horizontal scroll indicator",
+    g_param_spec_object ("hscroll", NULL, NULL,
                          ST_TYPE_SCROLL_BAR,
                          ST_PARAM_READABLE | G_PARAM_DEPRECATED);
 
@@ -886,9 +884,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The vertical #StScrollBar for the #StScrollView.
    */
   props[PROP_VSCROLL] =
-    g_param_spec_object ("vscroll",
-                         "StScrollBar",
-                         "Vertical scroll indicator",
+    g_param_spec_object ("vscroll", NULL, NULL,
                          ST_TYPE_SCROLL_BAR,
                          ST_PARAM_READABLE | G_PARAM_DEPRECATED);
 
@@ -898,9 +894,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The horizontal #StAdjustment for the #StScrollView.
    */
   props[PROP_HADJUSTMENT] =
-    g_param_spec_object ("hadjustment",
-                         "StAdjustment",
-                         "Horizontal scroll adjustment",
+    g_param_spec_object ("hadjustment", NULL, NULL,
                          ST_TYPE_ADJUSTMENT,
                          ST_PARAM_READABLE);
 
@@ -910,9 +904,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The vertical #StAdjustment for the #StScrollView.
    */
   props[PROP_VADJUSTMENT] =
-    g_param_spec_object ("vadjustment",
-                         "StAdjustment",
-                         "Vertical scroll adjustment",
+    g_param_spec_object ("vadjustment", NULL, NULL,
                          ST_TYPE_ADJUSTMENT,
                          ST_PARAM_READABLE);
 
@@ -922,9 +914,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The #StPolicyType for when to show the vertical #StScrollBar.
    */
   props[PROP_VSCROLLBAR_POLICY] =
-    g_param_spec_enum ("vscrollbar-policy",
-                       "Vertical Scrollbar Policy",
-                       "When the vertical scrollbar is displayed",
+    g_param_spec_enum ("vscrollbar-policy", NULL, NULL,
                        ST_TYPE_POLICY_TYPE,
                        ST_POLICY_AUTOMATIC,
                        ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -935,9 +925,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * The #StPolicyType for when to show the horizontal #StScrollBar.
    */
   props[PROP_HSCROLLBAR_POLICY] =
-    g_param_spec_enum ("hscrollbar-policy",
-                       "Horizontal Scrollbar Policy",
-                       "When the horizontal scrollbar is displayed",
+    g_param_spec_enum ("hscrollbar-policy", NULL, NULL,
                        ST_TYPE_POLICY_TYPE,
                        ST_POLICY_NEVER,
                        ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
@@ -948,9 +936,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * Whether the horizontal #StScrollBar is visible.
    */
   props[PROP_HSCROLLBAR_VISIBLE] =
-    g_param_spec_boolean ("hscrollbar-visible",
-                          "Horizontal Scrollbar Visibility",
-                          "Whether the horizontal scrollbar is visible",
+    g_param_spec_boolean ("hscrollbar-visible", NULL, NULL,
                           TRUE,
                           ST_PARAM_READABLE);
 
@@ -960,9 +946,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * Whether the vertical #StScrollBar is visible.
    */
   props[PROP_VSCROLLBAR_VISIBLE] =
-    g_param_spec_boolean ("vscrollbar-visible",
-                          "Vertical Scrollbar Visibility",
-                          "Whether the vertical scrollbar is visible",
+    g_param_spec_boolean ("vscrollbar-visible", NULL, NULL,
                           TRUE,
                           ST_PARAM_READABLE);
 
@@ -972,9 +956,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * Whether to enable automatic mouse wheel scrolling.
    */
   props[PROP_MOUSE_SCROLL] =
-    g_param_spec_boolean ("enable-mouse-scrolling",
-                          "Enable Mouse Scrolling",
-                          "Enable automatic mouse wheel scrolling",
+    g_param_spec_boolean ("enable-mouse-scrolling", NULL, NULL,
                           TRUE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -984,9 +966,7 @@ st_scroll_view_class_init (StScrollViewClass *klass)
    * Whether scrollbars are painted on top of the content.
    */
   props[PROP_OVERLAY_SCROLLBARS] =
-    g_param_spec_boolean ("overlay-scrollbars",
-                          "Use Overlay Scrollbars",
-                          "Overlay scrollbars over the content",
+    g_param_spec_boolean ("overlay-scrollbars", NULL, NULL,
                           FALSE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index a553c8b40691e0decf13fd154bad4409f74a8e1c..f8c49f37e3d8706946a6a154c120e7145e44a7d4 100644 (file)
@@ -121,9 +121,7 @@ st_scrollable_default_init (StScrollableInterface *g_iface)
        * ]|
        */
       g_object_interface_install_property (g_iface,
-                                           g_param_spec_object ("hadjustment",
-                                                                "StAdjustment",
-                                                                "Horizontal adjustment",
+                                           g_param_spec_object ("hadjustment", NULL, NULL,
                                                                 ST_TYPE_ADJUSTMENT,
                                                                 ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
@@ -139,9 +137,7 @@ st_scrollable_default_init (StScrollableInterface *g_iface)
        * property in JavaScript code.
        */
       g_object_interface_install_property (g_iface,
-                                           g_param_spec_object ("vadjustment",
-                                                                "StAdjustment",
-                                                                "Vertical adjustment",
+                                           g_param_spec_object ("vadjustment", NULL, NULL,
                                                                 ST_TYPE_ADJUSTMENT,
                                                                 ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY));
 
index 0101a00c7bf5a3d04f99a5210fcdca06b48fd8ad..9be827252419afb6f58a4c8d115ce32953b7d2f9 100644 (file)
@@ -226,9 +226,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * Whether animations are enabled.
    */
-  props[PROP_ENABLE_ANIMATIONS] = g_param_spec_boolean ("enable-animations",
-                                                        "Enable animations",
-                                                        "Enable animations",
+  props[PROP_ENABLE_ANIMATIONS] = g_param_spec_boolean ("enable-animations", NULL, NULL,
                                                         TRUE,
                                                         ST_PARAM_READABLE);
 
@@ -238,9 +236,7 @@ st_settings_class_init (StSettingsClass *klass)
    * Whether pasting from the `PRIMARY` selection is supported (eg. middle-click
    * paste).
    */
-  props[PROP_PRIMARY_PASTE] = g_param_spec_boolean ("primary-paste",
-                                                    "Primary paste",
-                                                    "Primary paste",
+  props[PROP_PRIMARY_PASTE] = g_param_spec_boolean ("primary-paste", NULL, NULL,
                                                     TRUE,
                                                     ST_PARAM_READABLE);
 
@@ -249,9 +245,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The threshold before a drag operation begins.
    */
-  props[PROP_DRAG_THRESHOLD] = g_param_spec_int ("drag-threshold",
-                                                 "Drag threshold",
-                                                 "Drag threshold",
+  props[PROP_DRAG_THRESHOLD] = g_param_spec_int ("drag-threshold", NULL, NULL,
                                                  0, G_MAXINT, 8,
                                                  ST_PARAM_READABLE);
 
@@ -260,9 +254,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The current font name.
    */
-  props[PROP_FONT_NAME] = g_param_spec_string ("font-name",
-                                               "font name",
-                                               "font name",
+  props[PROP_FONT_NAME] = g_param_spec_string ("font-name", NULL, NULL,
                                                "",
                                                ST_PARAM_READABLE);
 
@@ -271,9 +263,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * Whether the accessibility high contrast mode is enabled.
    */
-  props[PROP_HIGH_CONTRAST] = g_param_spec_boolean ("high-contrast",
-                                                    "High contrast",
-                                                    "High contrast",
+  props[PROP_HIGH_CONTRAST] = g_param_spec_boolean ("high-contrast", NULL, NULL,
                                                     FALSE,
                                                     ST_PARAM_READABLE);
 
@@ -282,9 +272,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The current GTK icon theme
    */
-  props[PROP_GTK_ICON_THEME] = g_param_spec_string ("gtk-icon-theme",
-                                                    "GTK Icon Theme",
-                                                    "GTK Icon Theme",
+  props[PROP_GTK_ICON_THEME] = g_param_spec_string ("gtk-icon-theme", NULL, NULL,
                                                     "",
                                                     ST_PARAM_READABLE);
 
@@ -293,9 +281,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The preferred color-scheme
    */
-  props[PROP_COLOR_SCHEME] = g_param_spec_enum ("color-scheme",
-                                                "Color scheme",
-                                                "Color scheme",
+  props[PROP_COLOR_SCHEME] = g_param_spec_enum ("color-scheme", NULL, NULL,
                                                 ST_TYPE_SYSTEM_COLOR_SCHEME,
                                                 ST_SYSTEM_COLOR_SCHEME_DEFAULT,
                                                 ST_PARAM_READABLE);
@@ -305,9 +291,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The current accent color.
    */
-  props[PROP_ACCENT_COLOR] = g_param_spec_enum ("accent-color",
-                                                "accent color",
-                                                "accent color",
+  props[PROP_ACCENT_COLOR] = g_param_spec_enum ("accent-color", NULL, NULL,
                                                 ST_TYPE_SYSTEM_ACCENT_COLOR,
                                                 ST_SYSTEM_ACCENT_COLOR_BLUE,
                                                 ST_PARAM_READABLE);
@@ -317,9 +301,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * Whether the accessibility magnifier is active.
    */
-  props[PROP_MAGNIFIER_ACTIVE] = g_param_spec_boolean("magnifier-active",
-                                                      "Magnifier is active",
-                                                      "Whether the a11y magnifier is active",
+  props[PROP_MAGNIFIER_ACTIVE] = g_param_spec_boolean("magnifier-active", NULL, NULL,
                                                       FALSE,
                                                       ST_PARAM_READABLE);
 
@@ -328,9 +310,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    * The slow-down factor applied to all animation durations.
    */
-  props[PROP_SLOW_DOWN_FACTOR] = g_param_spec_double("slow-down-factor",
-                                                      "Slow down factor",
-                                                      "Factor applied to all animation durations",
+  props[PROP_SLOW_DOWN_FACTOR] = g_param_spec_double("slow-down-factor", NULL, NULL,
                                                       EPSILON, G_MAXDOUBLE, 1.0,
                                                       ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -339,9 +319,7 @@ st_settings_class_init (StSettingsClass *klass)
    *
    *  Whether password showing can be locked down
    */
-  props[PROP_DISABLE_SHOW_PASSWORD] = g_param_spec_boolean("disable-show-password",
-                                                           "'Show Password' is disabled",
-                                                           "Whether user can request to see their password",
+  props[PROP_DISABLE_SHOW_PASSWORD] = g_param_spec_boolean("disable-show-password", NULL, NULL,
                                                            FALSE,
                                                            ST_PARAM_READABLE);
 
index 865ab6125d788df3b673d239dedd73a2fc559f8d..dfbd0f72ae217ffd523807a87843eebbc5defcad 100644 (file)
@@ -157,9 +157,7 @@ st_theme_context_class_init (StThemeContextClass *klass)
    * The scaling factor used for HiDPI scaling.
    */
   props[PROP_SCALE_FACTOR] =
-    g_param_spec_int ("scale-factor",
-                      "Scale factor",
-                      "Integer scale factor used for HiDPI scaling",
+    g_param_spec_int ("scale-factor", NULL, NULL,
                       0, G_MAXINT, 1,
                       ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 20d42fd3348ce1eeaf86454557ca7228312b68cb..9867ee1510b6deceb24ac68398e9d1458e613c06 100644 (file)
@@ -133,9 +133,7 @@ st_theme_class_init (StThemeClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_APPLICATION_STYLESHEET,
-                                   g_param_spec_object ("application-stylesheet",
-                                                        "Application Stylesheet",
-                                                        "Stylesheet with application-specific styling",
+                                   g_param_spec_object ("application-stylesheet", NULL, NULL,
                                                         G_TYPE_FILE,
                                                         ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -147,9 +145,7 @@ st_theme_class_init (StThemeClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_THEME_STYLESHEET,
-                                   g_param_spec_object ("theme-stylesheet",
-                                                        "Theme Stylesheet",
-                                                        "Stylesheet with theme-specific styling",
+                                   g_param_spec_object ("theme-stylesheet", NULL, NULL,
                                                         G_TYPE_FILE,
                                                         ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
@@ -161,9 +157,7 @@ st_theme_class_init (StThemeClass *klass)
    */
   g_object_class_install_property (object_class,
                                    PROP_DEFAULT_STYLESHEET,
-                                   g_param_spec_object ("default-stylesheet",
-                                                        "Default Stylesheet",
-                                                        "Stylesheet with global default styling",
+                                   g_param_spec_object ("default-stylesheet", NULL, NULL,
                                                         G_TYPE_FILE,
                                                         ST_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
 
index a05e042744ce1478b466ef42120248c3151ae706..8b3ca153f08efc30211332cadf17094196e89fe0 100644 (file)
@@ -586,9 +586,7 @@ st_viewport_class_init (StViewportClass *klass)
   actor_class->pick = st_viewport_pick;
 
   props[PROP_CLIP_TO_VIEW] =
-    g_param_spec_boolean ("clip-to-view",
-                          "Clip to view",
-                          "Clip to view",
+    g_param_spec_boolean ("clip-to-view", NULL, NULL,
                           TRUE,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index fc40ca06510d9221883502e8819aaef9fb148a9f..8eb7e317a364c5d5db097d8dd771e53c3a59a756 100644 (file)
@@ -894,9 +894,7 @@ st_widget_class_init (StWidgetClass *klass)
    * "focus".
    */
   props[PROP_PSEUDO_CLASS] =
-    g_param_spec_string ("pseudo-class",
-                         "Pseudo Class",
-                         "Pseudo class for styling",
+    g_param_spec_string ("pseudo-class", NULL, NULL,
                          "",
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -906,9 +904,7 @@ st_widget_class_init (StWidgetClass *klass)
    * The style-class of the actor for use in styling.
    */
   props[PROP_STYLE_CLASS] =
-    g_param_spec_string ("style-class",
-                         "Style Class",
-                         "Style class for styling",
+    g_param_spec_string ("style-class", NULL, NULL,
                          "",
                          ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -919,9 +915,7 @@ st_widget_class_init (StWidgetClass *klass)
    * CSS properties.
    */
   props[PROP_STYLE] =
-     g_param_spec_string ("style",
-                          "Style",
-                          "Inline style string",
+     g_param_spec_string ("style", NULL, NULL,
                           "",
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -935,9 +929,7 @@ st_widget_class_init (StWidgetClass *klass)
    * widget.
    */
   props[PROP_TRACK_HOVER] =
-     g_param_spec_boolean ("track-hover",
-                           "Track hover",
-                           "Determines whether the widget tracks hover state",
+     g_param_spec_boolean ("track-hover", NULL, NULL,
                            FALSE,
                            ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -949,9 +941,7 @@ st_widget_class_init (StWidgetClass *klass)
    * adjust it manually in any case.
    */
   props[PROP_HOVER] =
-     g_param_spec_boolean ("hover",
-                           "Hover",
-                           "Whether the pointer is hovering over the widget",
+     g_param_spec_boolean ("hover", NULL, NULL,
                            FALSE,
                            ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -961,9 +951,7 @@ st_widget_class_init (StWidgetClass *klass)
    * Whether or not the widget can be focused via keyboard navigation.
    */
   props[PROP_CAN_FOCUS] =
-     g_param_spec_boolean ("can-focus",
-                           "Can focus",
-                           "Whether the widget can be focused via keyboard navigation",
+     g_param_spec_boolean ("can-focus", NULL, NULL,
                            FALSE,
                            ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
@@ -973,9 +961,7 @@ st_widget_class_init (StWidgetClass *klass)
    * An actor that labels this widget.
    */
   props[PROP_LABEL_ACTOR] =
-     g_param_spec_object ("label-actor",
-                          "Label",
-                          "Label that identifies this widget",
+     g_param_spec_object ("label-actor", NULL, NULL,
                           CLUTTER_TYPE_ACTOR,
                           ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
 
index 2f36bf23aca643e5ca890029a40cc505eb3bbb1a..2d95d6a6ac3016e10863c361492666e2bc16f0e6 100644 (file)
@@ -175,9 +175,7 @@ na_tray_manager_class_init (NaTrayManagerClass *klass)
                   G_TYPE_NONE, 0);
 
   props[PROP_X11_DISPLAY] =
-    g_param_spec_object ("x11-display",
-                         "x11-display",
-                         "x11-display",
+    g_param_spec_object ("x11-display", NULL, NULL,
                          META_TYPE_X11_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY);
index 38362f2827111c2a6d6e7bcce5983ffe76b3c218..75af21adb21d0d333a126439609ebca7b4f1dd51 100644 (file)
@@ -719,9 +719,7 @@ na_xembed_class_init (NaXembedClass *klass)
                   G_TYPE_NONE, 0);
 
   props[PROP_X11_DISPLAY] =
-    g_param_spec_object ("x11-display",
-                         "x11-display",
-                         "x11-display",
+    g_param_spec_object ("x11-display", NULL, NULL,
                          META_TYPE_X11_DISPLAY,
                          G_PARAM_READWRITE |
                          G_PARAM_CONSTRUCT_ONLY);
index 118d93fa401a9d1d4d637e4c806cc49556f3271c..8e971a2a5f7ba73f2fcdff7d7dac90a36f4d13d6 100644 (file)
@@ -151,9 +151,7 @@ shew_external_window_class_init (ShewExternalWindowClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_DISPLAY,
-                                   g_param_spec_object ("display",
-                                                        "GdkDisplay",
-                                                        "The GdkDisplay instance",
+                                   g_param_spec_object ("display", NULL, NULL,
                                                         GDK_TYPE_DISPLAY,
                                                         G_PARAM_READWRITE |
                                                         G_PARAM_CONSTRUCT_ONLY |
index 0e338dc2dd10661f02d87cebd222bb2edfc74717..ff4e85b8a470de681056d081b6619b9d66b0f7ee 100644 (file)
@@ -212,9 +212,7 @@ shew_window_exporter_class_init (ShewWindowExporterClass *klass)
 
   g_object_class_install_property (object_class,
                                    PROP_WINDOW,
-                                   g_param_spec_object ("window",
-                                                        "GtkWindow",
-                                                        "The GtkWindow to export",
+                                   g_param_spec_object ("window", NULL, NULL,
                                                         GTK_TYPE_WINDOW,
                                                         G_PARAM_READWRITE |
                                                         G_PARAM_CONSTRUCT_ONLY |
index 6d4e2b047d4928b2867e1296618f340c0ef06cb2..a12fa809fda69ce5cad399fe4bd1ba7b347f7ceb 100644 (file)
@@ -21,7 +21,7 @@ class Object1 {
 class GObject1 extends GObject.Object {
     static [GObject.properties] = {
         'plonked': GObject.ParamSpec.boolean(
-            'plonked', '', '',
+            'plonked', null, null,
             GObject.ParamFlags.READWRITE,
             false),
     };